//
//  ChoseAddressCell.m
//  SDHuiYuShoping
//
//  Created by luojiao on 2017/6/8.
//  Copyright © 2017年 luojiao. All rights reserved.
//

#import "ChoseAddressCell.h"

@implementation ChoseAddressCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    [self.defaultAddress setImage:[UIImage imageNamed:@"select_btn_sel"] forState:UIControlStateNormal];
    [self.defaultAddress setImageEdgeInsets:UIEdgeInsetsMake(0, 0, 0, 0)];
    [self.defaultAddress setTitle:@"默认地址" forState:UIControlStateNormal];
    [self.defaultAddress setTitleEdgeInsets:UIEdgeInsetsMake(0, 0, 0, -20)];
    
    [self.editButton setImage:[UIImage imageNamed:@"edit_btn"] forState:UIControlStateNormal];
    [self.editButton setImageEdgeInsets:UIEdgeInsetsMake(0, 0, 0, 0)];
    [self.editButton setTitle:@"编辑" forState:UIControlStateNormal];
    [self.editButton setTitleEdgeInsets:UIEdgeInsetsMake(0, 0, 0, -20)];

    [self.deleteButton setImage:[UIImage imageNamed:@"delete_btn"] forState:UIControlStateNormal];
    [self.deleteButton setImageEdgeInsets:UIEdgeInsetsMake(0, 0, 0, 0)];
    [self.deleteButton setTitle:@"删除" forState:UIControlStateNormal];
    [self.deleteButton setTitleEdgeInsets:UIEdgeInsetsMake(0, 0, 0, -20)];
    
    // Initialization code
}

- (IBAction)defaultButton:(id)sender {
}

- (IBAction)editButton:(id)sender {
}
- (IBAction)deleteButton:(id)sender {
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
